package com.vehicle.mapper;

import com.vehicle.pojo.OutwardRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OutwardRecordMapper {

    //添加出车记录表
    void addOutWardRecord(OutwardRecord outwardRecord);

    //查询出车记录的信息
    List<OutwardRecord> findAllOutwardRecord(@Param("startDate") String startDate,@Param("endDate") String endDate);

    //删除出车记录
    void deleteOutward(@Param("outwardid") Integer outwardid);

    //根据id查询出车记录
    OutwardRecord findOutwardById(@Param("outwardid") Integer outwardid);

}
